
package com.example.demo.Param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

import java.io.Serializable;

/**
 * 用户登录param
 */
@Data
public class UserLoginParam implements Serializable {

    @ApiModelProperty("手机号")
    @NotEmpty(message = "手机号不能为空")
    private String telphone;

    @ApiModelProperty("用户密码(需要MD5加密)")
    @NotEmpty(message = "密码不能为空")
    private String passwordMd5;
}
